package com.pactera.asmp.server.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

/**
 * @ProjectName: asmp-server
 * @Package com.pactera.asmp.server.config
 * @ClassName: MinioConfig
 * @Description: MinioConfig
 * @Date 2020/07/05 17:16
 * @Author lvzhiqiang
 * @Version 1.0
 */
@Data
@Configuration
public class MinioConfig {
    /**
     * minio 服务地址 http://ip:port
     */
    @Value("${minio.url}")
    private String url;
    /**
     * 用户名
     */
    @Value("${minio.accessKey}")
    private String accessKey;
    /**
     * 密码
     */
    @Value("${minio.secretKey}")
    private String secretKey;

    /**
     * 桶
     */
    @Value("${minio.bucketName}")
    private String bucketName;
}
